package com.xyh.transaction.service.imp;

import com.xyh.transaction.entity.Permission;
import com.xyh.transaction.mapper.PermissionMapper;
import com.xyh.transaction.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionServiceImpl implements PermissionService {


    @Autowired
    private PermissionMapper permissionMapper;


    @Override
    public List<Permission> getPermissionList() {

        return permissionMapper.findAll();
    }
}
